That works - you could also create an instance of the block class, based on the data record, then pull out the config data. But, that doesn't really achieve anything other than what you're already doing.
General developer forum
Access and edit the mdl_block_instances.configdata
This discussion has been locked so you can no longer reply to it.