Are mutations the cause of alleles?
That's correct. Alleles are alternate forms of a gene that occur at the same locus and arise by mutation.
Another example might be sickle cell anemia where a SNP (a single base change) is the cause of the disease.