Yes, it is perfectly okay to stay in a hotel for the day and not overnight. In fact, many hotels offer day rates that are much lower than their standard nightly rate. This can be a great way to enjoy all of the amenities of a hotel without having to commit to an entire night's stay.