Yes, you can attach a slide to a bunk bed. There are special attachment kits available for this purpose. Check with the manufacturer of your bunk bed to see if an attachment kit is available.