Hi and welcome
With new piggies, one can sometimes sleep outside the opening when they have the need to be close but the leading companion doesn't have that same need and is not willing to share their prime territory, which is due them as leader.
Some pet piggies are much more relaxed about being out in the open and like to snooze where they are comfy. Piggies are nothing if not quirky. Every rule comes with exceptions...
Piggies are not wired to sleep snuggled up - in that case, there is mostly an emotional/dependency at the bottom of it. They sleep close to each other in a safe denning area in individual little nooks and crannies in thick undergrowth but they do not tunnel or build dens or nests.
When the parent generation of my little Cornish family (mum with a daughter and son, both sows pregnant by the boy) was rescued by a forum member from living rough in dog walking wasteland, they were using a thick clump of pampas grass as their denning area, but they had each their own little 'bedroom' in there.
It is one of those misconceptions that is the result of human driven interest on social media? Snuggled up piggies look cute to us humans but who wants to see piggies splodged all over the cage, each in their own hut?
We generally recommend to have at least the same number of huts or tunnels as piggies, and ideally an extra accommodation. Some piggies love to build their own nest in a pile of hay - this comes closest to their dee-rooted species instinct. But you won't ever find two piggies snuggling together in the same hay nest.