Yes, you can strum a classical guitar. Many players incorporate strumming—often mixed with fingerpicked notes—for rhythmic accompaniment, flamenco rasgueados, or exploring Latin and world music styles.
However, classical guitars have design features that make them better suited for fingerstyle playing:
Strumming-focused guitars (steel-string dreadnoughts, OMs, jumbos) typically have narrower necks, closer string spacing, and brighter projection. If strumming is your primary technique, a steel-string acoustic is generally more appropriate. But for versatility—and for genres like bossa nova, flamenco, or folk where fingerstyle and strumming coexist—the classical guitar works beautifully.