In continuation to the message of Eugene - I can say that the stage of such a disease as epilepsy itself also plays an important role and how long / often seizures have occurred. For example, if remission is more than 15 years old - in principle, you can try, but if the attacks are regular, then I think it's really not worth the risk. In general, all narcotic substances are evil, with them you can only get a probe.)
You can, if you are not afraid to provoke an attack. Of course, all reactions are strictly individual, but I happened to see both the complete absence of any reaction to marijuana, and extremely negative consequences, such as: tachycardia, shortness of breath, panic attacks. Complete absence means absolutely nothing. This is because THC (tetrahydrocannabinol - the active ingredient in marijuana) is not a drug and does not work for some people. But, again, I repeat - everything is strictly individual and not predictable. However, with such a diagnosis as epilepsy, I would not risk it. By the way, there were cases when the first attack was triggered precisely by the use of stimulants. And not necessarily marijuana. It could have been alcohol or a cigarette.