How to use get_sidebar in plugin folder?

get_sidebar hook in get_sidebar() is action, not a filter. It doesn’t expose template (just sidebar name) and doesn’t allow to modify data either.

There is no clean way to override internal logic of get_sidebar(), you’ll have to approach it in some different way.