While 4-cylinder secondary imbalance is not a significant concern in motorcycles due to their relatively small displacement, this video is well worth watching as it describes the hows and whys of the main limiting factor of an in-line 4.
As "revealed" in the video Alfadan claim to have invented a "new Connecting Rod" that isn't a Scotch Yoke.
(The video commentator is a little long winded so you may want to set the video speed to 1.25 or even 1.5 x speed).