Yes, in most homes
Curtains over a sliding glass door are common and work well. They soften the view, add privacy, and help control light and some heat. The main things to get right are rod placement and clearance, so the door can still slide and the panels do not catch on the track.
Why people hang curtains there
A sliding door is often the largest piece of glass in a room, so it can let in a lot of sun and glare. Curtains cut glare, add privacy at night, and can make a room feel cozier. Thicker fabric can also reduce drafts near the glass, though how much depends on the fabric and how fully it covers the door.
Mount the rod high and wide
Mount the rod above the top of the door frame, not just at the top of the glass. A rod set high makes the opening look taller and lets the curtain clear the door’s top track. Extend the rod past each side of the frame, so the panels can stack back without covering the glass. A rod that is too short forces the fabric onto the glass when you open it.
Check the mounting surface too. Fix brackets into solid wall framing, or use anchors rated for the load of the rod and curtains.
Leave room for the door to slide
Most of the trouble with curtains and sliding doors comes from the hem and the track. A long hem can drop onto the track, catch on the door, or get dragged under the panel. Keep the hem clear of the track, and choose panels that stack to one side or both sides so they stay off the door when it opens.
Test the movement before you finish. Slide the door open and closed through the curtain, and watch for binding. If the fabric catches, raise the rod or shorten the panel.
Choose a fabric and style that suit the door
Lighter fabric is easier to move and stack than heavy drapes. Grommet tops slide more easily along a rod, while pleated headings look more formal. Very heavy fabric can be hard to move, so it suits a panel that stays in one position most of the time.
Layer a sheer and a lined panel
Many people use two layers: a sheer under a heavier panel. The sheer gives privacy and softens light during the day, and the lined panel helps block light at night. Two rods, or a double rod, keep the layers separate and let you open just one of them.
Privacy, light and heat
Sun heating a glass door can be uncomfortable. A light sheer lets light in while softening glare. A lined or heavier panel blocks more light and heat. A light-colored panel also tends to reflect more sunlight than a dark one.
Think about the view from outside too. At night, a lit room is easy to see through an unlined curtain, so a lined panel or a second layer gives more privacy.
When curtains may not be the best choice
If the door is used constantly, or the panels get in the way of furniture, another option may work better. Blinds or shades mounted in the frame stay out of the way of the sliding panel, and many people choose the best blinds for sliding patio doors when the door opens often.
If children or pets are in the home, choose a cordless design for any blind or shade. Cords can pose a strangulation hazard, so cordless models are the safer choice.