Sure, by that token the US wasn’t really at war with Germany or Vietnam, it was at war with the Nazis and the Viet Cong. It’s a meaningless distinction to anyone actually affected by the wars.
Additionally, Israel bombed Damascus during Assad’s reign.
Here’s one recent example (bombing an embassy building):