Maybe. In android 7,9-x86 it will work. Since Android 11 or 12 you can't boot after modifying framework-res.apk in usual way due to some sort of signature/integrity checks by Android framework. Alternative methods using xposed/lsposed or magisk modules will have to be discovered.