Edit engine dependencies during launch? (Trying to load custom frameworks)

Hello,

I was wondering if I could get a bit of a sanity check when it comes loading/using frameworks within engines.

I’m currently trying to load and use a custom framework within existing engines (tk-maya and tk-houdini) (not in an app or hook).

I’ve been able to do so if I add the framework as a dependency to the engine’s info.yml and use:
sgtk.platform.current_engine().frameworks[].import_module().

Is there a way I can use this method without having to edit the existing engine’s info.yml?
Am I able to add this to the dependencies another way on the fly?
As I’d like to avoid having to run custom tweaked engines.

Is there a better way to go about doing this?

Thanks for any help/advice!