Atlassian Connect Spring Boot + React

I would like to create a plugin using Atlassian Connect Spring Boot. Is it possible to include a frontend in React that would connect to the backend via API? So we go from Jira to React, which then goes to our backend via API. I would like to implement front and backend separately.