Yes, but you need to make sure that all the commands of the other startup systems are actually executed before. otherwise the entities that you want to query for don't exist. Following thing worked for me for example:
By adding it to this stage, I make sure that it's run after the others. Be aware, that this solution will probably not work anymore soon, as bevy does the switch to a stageless solution.