The ball is dead once it goes through the basket so yes you can absolutely call a timeout (as long as you still have timeouts to burn.) Never heard of the YMCA way, seems a little unforgiving - seems like they were treating it like you didn't have any timeout left?