I would expect not, as your DS emulator isn't emulating the 3DS hardware!
There is a
special build of DeSmuME that gives you analog movement in Mario 64 using a fictional GBA-slot analog stick dongle.
I am not aware of analog mods for any other DS games in emulators. Maybe ask the creator of the SM64 DeSmuME mod for details of how they got the game to accept GBA-slot signals as touchscreen input? It might be possible to implement it in other games that use the touchscreen for analog movement.