Not that I’m aware of. The only laws surrounding life jackets are what flights must carry them, and under what situations they must be worn. There’s also laws governing their certification but that’s not strictly relevant to this example.

The airline may however have policies against it, but it’s not strictly illegal. In fact, there’s certain circumstances where you have to wear them even when it’s not an emergency, such as flights over water under 1000ft.