Yes this is possible, and some people probably do it this way, so that the carbing step is mixed with the fermenting step. You just have to be sure to transfer to the keg at the right moment. If the remaining gravity points are too high, the spunding valve will take care of releasing the excess...