If you pay for it you are a customer.
Usually there is a policy that you can not check yourself out but in the case of there being only one cashier this policy is usually not considered practical.
Used to work in a convenience store.
Thanks.
My mother was a cashier in a department store and I know they had policies about employees purchasing things when they were working. I can’t remember what they were, but I know they had them.