No, not directly. Action Replay cartridges are hardware-specific: a DS Action Replay only works with DS games; a GBA Action Replay only works in a GBA/SP/DS (GBA slot).
This is the only reliable method. Original Action Replay hardware cannot bridge the gap.