Can I roll my HELOC into a First Mortgage and deduct all the interest under the new law?

I think it's straightforward.  Since 1st Mortgage interest is deductible, but HELOC interest no longer will be, will it be allowable to roll the HELOC into a new first and deduct all the interest?