A trusted youth advocate with access to vulnerable children tied, bound and gagged young boys before beating their feet, a court has been told.