My understanding of the rules is that Treasury Department regulations forbid spending U.S. money in Cuba (with a limited exception for Americans who are relatives of Cubans). If you can avoid doing that (by spending Canadian or Mexican money), you won't violate that law. But someone else may know about other rules. I do know that lots of Americans go to Cuba quietly.
Bruce