Application for only one device

I bought an application for a few euros but I can only install it on one device
can i do the same thing if i create my own apk? with MIT? 2

Sounds like this "app" has a registration key that calls "home", if not already in use then it will allow installation/use.