Can you sell your old iPhone if you get a new one from warranty?

So my situation is my iphone has a few minor problems and id like to use my warranty to get a new one. Is it possible I can sell my old iPhone? What steps would I have to take to be able to sell it?

No. Once the phone is replaced, the original belongs to the seller. If you don't return, it, the IMEI will be blocked & they will charge you the full replacement price. They've been doing this a lot longer than you have.

No, they will keep the old one and replace it with a completely fresh new one.

If you take it in for warranty work and they replace it, they'll keep it.

Just sell it and report it stolen

Of course not, it will end up with a bad ESN. Thats only if reported lost, otherwise you need to exchange it, either way its a bad ESN.