Yes. And prolonging the war is clearly beneficial for Russia because this is a one-way war. It is only Ukraine that is being destroyed, their civilians, their roads, their bridges, their electricity generating plants, their whole infrastructure.
In April 1942, just 4 months after Perl Harbor, the Americans attempted the Doolittle raid. This was a suicide bombing mission on Tokyo, just to show the Japanese that their mainland was not safe. And of course, the British bombed Berlin in August 1940, even though their bombers barely had the range back then, and they had a lot of casualties. Neither the British nor the Americans are known for suicide missions, but that's what they did, just to show the enemy that they can hit back.
In this war, the Russians can bomb Kyiv whenever they like, but the Ukrainians are forbidden to hit Moscow...