Not only is it not allowed, but it isn’t really possible. No accounts have access to Java, a command line, or any port outside of 80 (which is what’s used for websites). The server don’t have enough resources to handle it, and each accounts resources couldn’t handle it at all. InfinityFree is a web host, and like all web hosts (free or paid) it’s made for hosting websites, not game servers. I’m sorry, but you’ll have to go elsewhere. I’d recommend getting a VPS or use a host specifically for Minecraft (like I do).