Allow accessibility service for APK that is out of Google Play:
How can the user approve accessibility service?
Happy news: Google fixed the bug and on the latest beta version of Android 14 it's ok.
See here: issuetracker.google.com/issues/275258164