Figma doesn't handle flattening shapes the same way Illustrator does.
It uses booleans for merging 2 shapes together, as a non-destructive way to create a new shape. Unfortunately, you'd need to take this into a program like illustrator to create a fully custom shape, or use the pen tool to trace it.
Select everything, and do Ungroup Shift+Ctrl+G 5 times to remove all those unnecessary nested groups.
Do Path > Stroke to Path to turn the horizontal stroke into a path.
Now you can do Path > Combine, or alternatively do Path > Union if you want to get rid of any overlaps.
Do File > Cleanup document
To export as optimised SVG, do File > ...
Not sure what's wrong here. But Illustrator doesn't like it for some reason. Illustrator doesn't even seem to import the paths that make up the text, they're simply missing. It must have something to do with the way the SVG is constructed.
Anyway, I got it to work by opening in Inkscape (which is free), selected everything, changed the fill to black, then I ...
Yes it's possible in Illustrator. Select both cherries and do Object > Compound Path > Make.
When you export to SVG, both cheries will be one single path.
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://...