Certainly! Here's a simplified version of the game concept you described, implemented as a playable sample game in a single HTML file using JavaScript:
This sample game allows you to create a character by choosing their name, type (ninja, dragon, dinosaur, or human), and element type (earth, fire, water, healing, sun, light, or null). Once you start the game, you can then open the map and research an element. However, it does not include the option to fight enemies or create a crew. You can extend the code as per your requirements to include those features and add boss fights.