Yes, some headboards can be attached to the wall, but make sure to use proper hardware and follow the manufacturer's instructions.