What you are asking is a specific violation of guideline 4.7(4):
4.7 HTML5 Games, Bots, etc.
Apps may contain or run code that is not embedded in the binary (e.g. HTML5-based games, bots, etc.)..... provided that the software...... (4) does not provide access to real money gaming, lotteries, or charitable donations;