Yes, you can substitute some or all of the butter with shortening, which has a higher melting point. This will help the buttercream hold up better in hot weather.