Yes, you can check in and out, in that order, in the BVI.
As long as you pay for the days you will be there, all is good.
They probably don't mind if you leave early, but I would not stay for unpaid days.

We generally check in and out of the BVI for about a week, and for a group of 8 on a 40-foot cat this costs around $400.