Yes. I would be surprised if you're not able to do that. That's basically what you would also be doing if you wanted to sell your bitcoin, you'd have to send it to your coinbase, and then sell it in exchange for fiat sent to your bank account.
Unrelated but: I would be careful about accepting transactions from individuals that I don't personally know directly to my coinbase address (or any exchange for that matter).
Receiving bitcoin is easy but your account on a centralized exchange can have issue if the sender sent you tainted coins. You can not control it so I agree with you that for people I don't know well personally, I don't trade with them with my deposit address on a centralized exchange.
An example is an account termination by deposits from UTXOs related to Sinbad mixer.
Sanctioned Services and the service traceability to this forum, Any danger?Another issue with Coinbase is withdrawal fee that is so expensive.
Problems with Coinbase Withdrawal fees.