That is the technique I first learned years ago...boil 2.5 gallons, put 2.5 gallons into the carboy, pour the boiled wort into the carboy, done. It can be done. Doesn't mean it results in the best beer. What kind of water do you have, well or city water? Does it have excess chorine flavors in it? That will affect your beer (I use a water filter). And that is not even going into the fact that you will have much lower hop utilization by doing a smaller, higher gravity boil before diluting. And I'm sure there are other concerns.
But bottom line, it can be done, there are just reasons people trying for really good beer try to get their process down so they don't have to do it. Hope that helps.