Yes, this is known as “quick actions”. When a  “quick action” finishes, it goes back to the playlist that was playing before its activation.