It's very possible, given the fact that both films were written by Chris Columbus and produced by Steven Spielberg.
Despite being considered family-friendly classics by '90s kids, some movies are filled with risqué content and double entendres.