I don't think it will illegal.
To start a betting or lottery business, one must initially have a gambling license so if the business does not have a license to operate a crypto based gambling business, then the whole this is illegal.
Offline gambling will always need a licence and most of the countries will not issue a licence. Mostly government will not encourage their people to gamble and lose their money.