Yes - I saw a very interesting video the other day that educated me a lot on Benadryl - apparently it has a lot of side effects, can cause dementia, and is probably best avoided.
It’s not a good idea to take Benadryl for many years, but occasional use or even for months while going through a difficult period isn’t going to cause dementia.