Questions around the legality of automated trading (FnO)

I am trying to imagine whether someone can create a company that then, among other things, creates SDK (software development kit) to create algorithms / bots thereby ensuring it is the built concept is open source at “worst” if you may i.e., there is inherent monetization concept built into it.

All that is really needed for this is:

  1. Coming up with a technical plan (to ensure scale)
  2. Ensure modular and non-fragile design (reduce design-time bias)
  3. Ensuring compliance around legality (if laws are clear, this should be manageable)
  4. Get streaming data feeds (good amount of money)
  5. Build the product in that write code and design the ecosystem (administrative costs)

Trying to understand as to whether this is legal and feasible and if I can expect these things to pop up in the near future: