Not exclusively, they had the An-148/158 regional civilian airliners (and related An-178 military cargo jet). They definitely had catching up to do (the An-148/158 didn't perform really well, in large part due to issues with the supply chain which was part Ukrainian, part Russian, and the war(s) between the two complicated things a lot), but there was a good base on which to build.
> I wonder where Embraer fits in your picture.
They're the only ones that can do it, but probably won't because they don't have the capital and there's the example of Bombardier which bankrupted themselves trying to make a new short to medium haul airliner.
Part of why they had to do it is because they had so many testing issues and delays with their new design that people were not willing to bite the bullet on an unproven design.
Nope, it's not unheard of in aviation because a plane, or an engine, has a multi-decade life, over which there will be a lot of maintenance and spare parts needed.
GE and Rolls-Royce used to sell jet engines at a loss, banking on maintenance and spare parts making up the losses.
And of course, the punitive tariffs were later removed because Boeing weren't actually impacted by the C-series, dumping or not.
The Ukrainian aircraft industry was indeed interesting, but it was all about cargo planes. An-225 was a magnificent device, but it could not serve as an airliner. Neither could An-124. BTW both were designed back in the USSR times.