I’d try and work out what the metal is first.. could it be a metal conduit that’s shielding electrical cables? Not got a socket in line below perhaps?
There are plenty of dry lining systems that use metal brackets to mount the PB on.. either screw fixed into the structure of fixed with plaster dabs, would think it’s less likely though on a newish building (I usually use them for refurb of old uneven walls). If you actually have a solid wall behind that small cavity, then a longer screw with a decent masonry wall plug would work fine. You won’t burst through as you’re spreading that tension force over the whole headboard area.
In the end though, those fixings will probably work, a headboard with a large area like that will have a low “pull out” potential as the force should only really be a shear force along the wall face.
Regards
Jeff