Yes this is possible see the instructions at https://support.atlassian.com/jira-software-cloud/docs/set-up-issue-types-in-next-gen-projects/
A subtask is just another issue type apart from it belonging to a parent issue.
Note the special instructions around NOT creating a subtask called subtask.
Hope this helps
Sorry I should have been clearer in my earlier answer.
There is currently no way to create subtasks whilst continuing in a next-gen project (as of May 2020) but the instructions quoted show how you would convert to a classic project and then how you can set up your subtasks.
Jira is a powerful tool that helps teams to plan, manage, and report on their work. We love using Jira, especially for its ability to track issue progress. But how to monitor the...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events