They have almost no interaction with each other - therefore - Yes they can. It's also a very common combination anyways.
SSRI's (Selective Serotonin Reuptake Inhibitors) block the SERT (Serotonin Reuptake Transporter). This blocks Serotonin from being able to go back into the cell vesicles, thus allowing more serotonin to be able to accumulate in the synapses. Adderall, and Ritalin - while they can have very minor effects on Serotonin, it's very slight and shouldn't cause problems when taken with an SSRI.
However, that is not the same for all amphetamines and NDRI's. For instance - the dextro isomer of Methamphetamine (CNS active meth) causes a cascading release of Serotonin. This rush of Serotonin is what causes meth users to have their body twitch so violently. Same goes for MDMA (Ecstasy). However, it's effects on Serotonin are a little different than Meth. MDMA actually has binding affinity for some 5-HT sites. And therefore has larger Serotonergic activity than Methamphetamine.