Can I use my own webpage for Device AuthorizationFlow

Is there a way to use my own webpage tof handle device authoriation flow. Ideally I would be able to create a page that I control the user experience and when they input the usercode, I do a post to a keycloak endpoint, with an access token to validate the device grant.

We are wanting to control some things on screen so that we can stay on brand with our product.