No, as rotten eggs can cause health problems such as salmonella poisoning.
Traditional homemade mayonnaise contains raw egg yolks. However, the perfect solution is to purchase irradiated eggs which are now available in most markets. Irradiated eggs carry no risk of salmonella contamination and are perfectly safe to use in raw preparations.
Mayonnaise is simply an emulsion of oil and egg yolks, with a little acidity and salt added to brighten the flavors.
With only 4 ingredients that you probably already have around the house and 5 minutes of your time, you can make homemade mayonnaise. Here's an easy homemade mayonnaise recipe shared by Allrecipes.com.