Additional SQL Server features and topics not covered by specific categories
One connection is one connection, and where the connection is coming from does not matter. Not that I see why this would be a problem. You would do
ALTER DATABASE db SET SINGLE_USER ON WITH ROLLBACK IMMEDIATE
go
BACKUP DATABASE db TO ....
go
ALTER DATABASE db SET MULTI_USER
Then again, I am not sure that I see the point with setting the database to single user while you are taking the backup. The backup will include a portion of the transaction log, so that when you restore the backup, you will get what was committed when the backup completed.