Is there a way to change the parent environment?

And, if I do so, will I lose data?

Using the CLI:
platform environment:info parent NEW_PARENT

No data will be lost.