Yes, at least in most countries. Regulatory bodies in most countries will prosecute online casinos for operating without license -not players for playing in an unlicensed site.