If it’s not causing any issues, don’t worry about it. If it seems to be causing a dependency or increased anxiety around sleeping alone, then maybe it’s not a good idea. There doesn’t seem to be any consensus among psychologists. Some like it, some hate it. So the best you’re going to be able to do is keep track of how it affects you both and change things up if it becomes a problem.
Our thinking can be so twisted by religion. Imagine someone long ago wants to build a really tall tower. Nobody knows engineering, material science, etc. They just start stacking rocks on top of each other like they do when they made short buildings. Eventually it’s so tall and heavy that it’s no longer stable, one side sinks into the ground, and the whole thing falls over. And what’s their takeaway? Is it about learning from their mistake and trying again? No, it’s “God is punishing your hubris!” Religion just poisons the mind.