NO it wouldn't be OK because the inlet manifold is 26 to 27 mm - the port is 26 mm - the valve throat is only about 23 to 24 mm - so you'd get a sudden velocity drop and BOG (that CAN'T be tuned out) everytime you opened the throttle quickly under load !
A 24 mm flatslide would work the absolute BEST for dirt riding - quick throttle response , strong pull under labour - still a decent top end ! If you're going to go bigger - you need an accelerator pump carb for it to work (FCR Keihin) like CRF150R's have !
Even 500 cc speedway bikes don't run a very big carb - around 34 mm !!!!!
The step up back into a smaller carb blocks reversion wave pulses which make the engine run rich down low - 2 strokes can run big carbs because they have a reed valve to block the reversion pulses . IF you have a 2 stroke or know anyone who does ~ get them to remove the reed petals from their reed valve then try running the bike and watch it run like a gutless soggy dog down low !!!!!!