The templates are just guides, meant to be used for inspiration. Nearly every Flow you create will need to be customized based upon your workload and environment needs.
With that said, yes, what you are seeking to accomplish can be done fairly easily using the SharePoint and OneDrive connectors, and an expression based condition. The Flow could look something like this:
Notice, the condition contains the Filen name and extension string with an Or statement that looks for image-based file exentensions. If it passes, it copies the file to OneDrive, if it fails, it does nothing.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!