Is this type of app allowed by Amazon?

Yes. Amazon supports third-party device and application integrations with the Alexa Voice Service. That service is fully documented and available to developers who are part of the Amazon Developer Program.