Generally, no—heels are not permitted in regular classes. You’re welcome to wear them in designated Heels classes, or if it's clearly communicated in advance that heels are allowed for a specific session. Occasionally, a teacher may give the green light during class, but even then, it’s always at your own risk.
Safety and comfort come first, so when in doubt, check with your instructor before strapping on those pleasers!