Alix was a regular taker of the first generation of barbiturate tranquilizers. Which, interestingly, seemed to exacerbate her myriad physical health problems - notably with her sofa-sitting, her complaints of 'heart cramps' and the lameness which was severe enough that even during her engagement, Nicolas had to push her around the streets of Windsor in a bath-chair.
As well as stress and emotional excitement setting of the symptoms, barbiturates are considered the most dangerous precursor of an attack and are thus absolutely contraindicated for porphyria - the hereditary inborn error of metabolism which it is believed was passed down from George III to many of his children (one explanation for the reason his daughters were so discouraged from marrying and for the perception that madness was a given amongst monarchs due to the British Hanoverian experiences) - and almost certainly to Vicky's daughter Charlotte (sister of Kaiser Wilhelm II - see the discussion of this theory in the book "Purple Secret, discussed in some detail in her thread here) and her daughter Feodora of Reuss.
Alexandra's lameness was traditionally blamed on a childhood accident stepping though the glass panes of a plant nursery. Hmm. Her cousin, Queen Maud of Norway, was unable to walk down the aisle of the Trondheim cathedral for her coronation in the 1900's despite not having any permanently obvious source or reason for such a disability. Her sister Princess Louise also suffered vague and ill-defined cripplingly bad health throughout her life.
Alix and Nicholas were adamant that Alexei not be given opiate painkillers such as morphine for the agonies he suffered from the bleeding into his joints - for fear of addiction, to their minds a particularly scary prospect for a future ruler given the not-so-distance experiences of George IV and William IV and the damage it had caused to the reputation of monarchy. It is therefore unlikely that Alix took opiates regularly.