The driver should be responsible for bringing the networking hardware back up. You shouldn't be doing hacky Windows workarounds unless you have zero choice as that could have other problems associated with it over time :)
By default Windows doesn't stop the networking hardware from coming back up on resume.
Should be a problem to be solved by a driver update. If its not fully compatible with Windows 11 or has problems there then do as you must if there's simply nothing better. In rare cases it could be a Windows networking bug where its broken it some way on resume and then updating will eventually fix it. But, then the driver would be bringing it up anyway and then that hacky workaround should really do nothing.
Hopefully it does work for you though.
Event Viewer may shed more light on it over just simply saying its Windows.