Preheat The Oven To 350 Degrees F (175 Degrees C). Grease A 12 Cup Muffin Pan With Cooking Spray. In A Large Skillet, Fry The Bacon Pieces Over Medium Heat Until Browned And Crisp, About 8 Minutes. Drain Off Half Of The Grease. Transfer The Bacon And Remaining Grease To A Large Bowl. Stir In The Shredded Potato, Shallot And Parmesan Cheese. Divide This Mixture Evenly Between The Muffin Cups. Pour Eggs Into Each Cup, Filling To The Top. Bake In The Preheated Oven Until The Egg Is Firm, About 12 Minutes. Remove From The Oven And Set The Dial To Broil. Place A Slice Of Tomato Onto Each Cupcake And Return To The Oven. Broil For About 3 Minutes, Or Until Toasted. Allow To Cool Slightly, Then Arrange The Cupcakes On A Tray And Top Each One With A Slice Avocado, If Using.