Yes, you obviously can. Install the FAST-CLI into Termux and enjoy developing extensions. These tutorial videos might be helpful for you.
Manual Process for Linux, MacOS & Termux:
Specially, if you’re using below Android 14 and installed JDK 8 or 11: