How to bundle themes within plugin?

WordPress have a function to register a themes directory register_theme_directory( $path );.

Example:

register_theme_directory( trailingslashit( plugin_dir_path( __FILE__ ) ) . 'themes' );
[eye_button shortcode_id=”299ee25303″ button_link=”http://localhost/eye-library/wp-content/uploads/2019/01/eye-theme-in-plugin-example.zip” button_target=”self” button_text_align=”left” button_font_weight=”normal” button_font_style=”normal” button_icon=”eye-icon-download-cloud” button_border_style=”solid” button_bg_color=”#f4f4f4″ button_text_color=”#333333″ button_border_color=”#dddddd” button_bg_color_h=”#c4c4c4″]Download[/eye_button]