Yes, I do often high star rate good matches, even if I was in loosing team.
That however does not have any impact to match making afaik, game uses different algorithms for that.
Your ⭐ ratings are saved as feedback to somewhere else and used for different purpose.