Yes. Your bed is required to be able to set a spawn point. Once created, place it inside a room with at least one wall and you’ll get a notification that your spawn point has been set.