Yes. You can decline to have them done, apart from the rabies vaccine, which is a public health issue as well as a health issue for your dog, but they are standard regular maintenance for dogs.
Heartworm's easier to prevent than to cure (and cheaper). DA2PP innoculates against a range of illnesses that used to kill dogs by the thousands - parvo and distemper among them - and seems a worthwhile investment. Bordatella is kennel cough, and the vac is usually recomended (and required) if your dog is going to be in a kennel situation.