No. Yoga is very adaptable and there are many alternatives to postures which can be implemented to accommodate a students needs.
It is important to make your teacher aware of any conditions/injuries at the start of a class so that they can work with you.
If in doubt it is advisable to consult your GP before trying yoga (or any new exercise)