It is not recommended to use margarine in buttercream because it can change the texture and the flavor of the frosting. While there are recipes for vegetarian and vegan buttercream, they are very different.