Pretty much. Gotta give 24 hours notice pretty much everywhere, although as long as the tenant is ok with it, it's not like it's legally binding, they can call and ask to pop in in an hour, you can just say no if you want. In practice, the more notice you give, the better the chance of the tenant accommodating, and cleaning up a little.
Had a somewhat similar issue when I bought my house a month or two back. Had a tenant in there, and the owner didn't really communicate with them. And tenant didn't really care about cleaning up, either. Helped me with pricing, as I could argue it wasn't in nice shape, and it kept other buyers from seeing it as nicely as it could have been, but still not great.
They also sold the house with the closing date overlapping with the rental agreement, which caused some heartburn on their end. I owned it as of 10am that day, tenant had a valid lease until midnight that night. I DID stipulate that I would not accept leases or tenants, and they had to be out, but they didn't communicate that with them or give them anything to move out early, so it was a bit of a cluster the last couple days before the sale. I leaned on the tenant to get out (he had already bought a place anyway and was just picking at things), but pain in the ass. Ended up making the owner pay for a cleaner, as the tenant left in a huff and refused to clean when he left, which was a stipulation in his lease AND in my sales agreement. Overall PITA, but it worked out I guess...