President Donald Trump said he may support legislation that would repeal the Affordable Care Act while not immediately replacing the Obama-era healthcare law.