Can I install carpet in the attic?
It's not too unusual. The carpet will collect some dust and possibly insulation, and might have problems if it ever gets wet from a roof leak. On the plus side, the carpet will act as a little insulation and is quieter and cooler in the summer to walk on.