Associate module with different namespace?

Is it possible to change the namespace with which a module and its pages are associated? Through a query directly to the database, maybe? I don’t want to lose data or pages, or have to recreate them - I’d like to keep all of the same record IDs, just change the namespace.

I dont think its possible without data migration (export/import).