I'd frame the question less as a dollar cost averaging question and more of an issue where you are seeking to hedge yourself against possible increases in the value of the investments you will buy when your 12 month lump sum arrives.
In that sense, you are kind of like a corporation that has to buy commodities as an input into its processes. Because these commodities fluctuate wildly in price, and because the corporation needs a way to lock in a price so that they know how much they can sell their products for and how much capital to allocate to procurement, they use derivatives contracts to ensure they pay a predictable amount in the future for oil, corn, nickel, or whatever the commodity is. They are willing to suffer a small financial loss, on average, with each contract because they protect against a price spike that could wipe them out. On the other side of the derivative contract are commodity producers who likewise need to lock in a price so they can be assured that they won't get wiped out trying to sell their products at a market bottom.
In your case, you need to hedge against the possibility that investment securities will be much more expensive when you receive your 12 month bonus than they are now when you are actually earning that revenue but can't spend it yet. You're considering borrowing the funds so that you can buy at today's price and eliminate the risk of having to buy the securities at a higher price later when your revenue arrives. However, this is offset by the risk that the securities will be priced lower in the future. These risks would seem to at least partially offset each other. It would be a wash if not for the tendency of stocks to rise over time.
Another possibility is to buy a call option, which grants you the opportunity, but not the obligation, to buy stocks or funds at an established price. These contracts have a value that deteriorates over time, and you pay this cost in exchange for the opportunity. With the call option, you'd only lose the much lower value of the call option if the market tanked or went nowhere. However, it's fair to say the price of the option contract reflects the market's average consensus equilibrium point and fairly accounts for the risk-adjusted expected future value of the contract. Like the debt you are considering, this would cost a single-digit percentage of the entire investment amount.
Mini-futures are a possibility if you are a particularly sophisticated investor, the amount you need to hedge is well into the six figures, and you're willing to watch the thing like a hawk.
TL;DR: Probably not worth worrying about.