I think you’ll have a hard time finding cops who don’t find the idea of enforcing such laws utterly preposterous. Most wouldn’t even try to stop a motorcycle.
Many things that are hard to prevent are still dangerous and wrong.
In the US what would stop me is people aren't expecting lane splitting, so they're not looking for it. The chance of getting pancaked is much higher.
Regardless you almost never see people do it in Oregon and I'm pretty certain the cops there would absolutely pull you over for it.
I don't have enough experience to speak for other states where it is also illegal.