Interesting idea. The crankcase is vented by its own tube on the side of the block so it won’t cause a problem to that part of the engine.
I would think that if you developed too much pressure in the rocker box the oil filler cap would lift up. I think that might be the only risk.
Let us know how it goes.
Chris