My view is two separate boxes can be placed side by side. I don’t find hedgehogs anti social apart from a female with young maybe.
I have 7 hedgehogs overwintering in my garden before release when the night time temperature increases and they all share one box. It is big though around 6 ft X 3 ft.
PS most people use straw or hay in boxes I use dried leaves such as oak or beech.