No. Xbox Live Gold trial codes are restricted to accounts that have never previously held a Gold subscription. Once your paid Gold tenure ends, the account is flagged as a "former subscriber" and becomes ineligible for trial redemption.
If you want uninterrupted online access on your main account, renewing or upgrading to Ultimate is the only reliable path.