In this sentence, "can" expresses possibility or permission in a dismissive or indifferent way.
Meaning:
It implies that the person is capable of starving to death, and the speaker doesn't care if it happens. It's a way of emphasizing indifference, often used to express frustration or anger.
Your interpretation:
Yes, it's close! It means "You could starve to death (if that's what you want), and I wouldn't care."