Yes, the contract would be on the Ethereum blockchain.
If the contract stores the owner, how is it not the “token” at the same time?
Royalties are pretty easy: contract knows the artist, artist gets say 10% of every resale, owner gets the rest, purchaser becomes new owner. Anyway this and NFT both have a big vulnerability around royalties: I can make some of the payment in cash if I want to cut out the artist.