Use UID (username) for Bucketname in objectstorage configuration

Is there currentyl any possibility to set a the username of a user as a prefix or suffix for the bucketname inside objectstorage?

What I currently do is to set a placeholder in config.ini and replace it in the class “OC\Files\Mount\ObjectHomeMountProvider”

Was wondering if there is a better/official way to do that.