Can I create a custom html+jinja form and submti data?

Is it possible to create custom url routing,custom jinja html and forms and write controller
logic for it?
Similar to django and flask?