Can I attach a guard that has spawned by guard spawner onto player?

You could use the guard_spawner_device.Hire(:agent) method