Definitely, that sounds perfectly reasonable and respectful. Something such as medication or an emergency, is of course different.