Yes, cotton pants can be worn for formal occasions. Look for stylish cotton pants in formal cuts and styles, such as tailored or high-waisted designs, and pair them with dressier tops and accessories to create a polished and professional look.