Yes, hiding purchases from any Apple device connected to your Apple ID will hide them across all devices. Keep in mind that unhiding a purchase on one device will unhide it on all connected devices as well.