Can i log in two different account on the citra siimulator on one pc?

i just cant find a friend to play with me , so i just have to trade pokemon with myself
can i log in with different account in one pc and get connected to each other? if i use account A in nigthly ver. and B in canary ver. will it work?

if anybody could share the anwser with me ,i will appreciate it

You can simply create unlisted and use 127.0.0.1 as the IP, that will connect to yourself on the same machine. Make sure you have two different Citra folders with their own config(make a folder called user in one of them then copy-paste all folders from %appdata%\Citra into it. On the second Citra you need to generate a new console ID, do that in the System tab.