Maybe. Last I checked, the tires on F1 cars are optimized for traction at actual racing speeds (when they get hot and stickier), which means that at low speeds F1 cars actually have much poorer traction than one might think. Only matters on turns, presumably, and 40km/h might be slow enough that it does not matter, but I'd really want to see some experimental data before deciding on anything that happens so far out of a vehicle's intended-use envelope.
Could you? Here[1] is Richard Hammond driving an F1 car on Top Gear, and he says it can't go slowly, safely - no downforce, no heat in the tyres, no heat in the brakes. If you're coming off a lot of fast laps into the pit lane they will still be warm, if you try to drive it at 40km/h all the way they won't be.
Hammond is correct, however the term "slowly" in an F1 car would refer to speeds like 60–100 km/h. Note that the pit lane speed limit is generally 100 km/h during a race. I picked 40 km/h as it's a speed which even the hardest rubber tyre would not present difficulty retaining traction even without the aid of any downforce.
And indeed, if my memory of Hammond's experience is anything to go by, the F1 engine may not even be able to handle being driven exclusively at such slow speeds without stalling out.