This would be a great feature to add! I use Obsidian to take notes with images attached by pasting. There’s no need to actually compress the embedded image file, adjust the display width would be enough!
Another markdown app I use has a link style like this to specify image width: 
it looks a lot like what Obsidian does, only has the addition = width
part.