Check customer tags on order status page when customer has no account

Is there a way to check the customer tags on the order status page if they have no account.
It seems the checkout.customer object only works for customers with accounts.
I need to run a script if the customer has no accoutn AND has a certain tag.