Can I buy the dining plan for fewer days than my resort reservation?

No. It must be purchased for the exact number of nights as your hotel reservation.