Runway markings on grass or dirt? No. You don't see that in real life, apart from numbers sometimes which are embedded concrete, not paint. There's nothing to stop you painting such surfaces mind, it's just that it won't last very long, especially if someone actually uses the runway.
Grass runways were a rareity in WW2 since the whole field was the runway width. In cases where a particular runway was marked out (usually for dirt, but I dare say it happened for grass runways too) it would be something like painted tires either side of the threshold (never along the length). Torches or bonfires were used at night along the edges of the runway sometimes.
It's only since WW2 that grass runways have been marked out in the same way as tarmac or concrete in line with the modern preference for procedural flying and airfield safety rules. That's how I was taught to fly. Back then you flew in and out of a grass field. Concrete runways existed and these were used for heavier aeroplanes like bombers or transports.
The sort of ground symbols we get today were rare and most pilots relied on the 'signal square' near the control tower, a facility all but fallen into disuse today. In this signal square the pilot could see which direction was being used for takeoff and landing (grass fields had no runways as such) and which way round the circuit was to be flown, and so forth. The use of radio air traffic control is grossly exaggerated in IL2 as well. Unless the airfield was a major one, the pilot of any aircraft was operating at their own discretion, subject to local control guided by lamps and flares.