For Smallpox, yes, although the efforts to prevent inoculations of smallpox in future America seem to be more aggressive than those applied to the vaccine some 80 years later. In part this is due to the wide acceptance of the inoculation effect by that time (which was notably used by Washington to prevent the Continental Army from falling ill in large numbers during the Revolution and championed by civil leaders such as B Franklin). I wrote a response previously I would recommend while you wait on a more in depth answer; it may be found [here] (https://www.reddit.com/r/AskHistorians/comments/j6q80q/were_people_suspicious_of_the_smallpox_vaccine/).
For a more in depth look at the inoculation debate I would recommend The Fever of 1721: The Epidemic That Revolutionized Medicine and American Politics, by Stephen Cross (Simon and Schuster, 2009). Cheers!