Pecker is a key witness in the case against the former US president, who is accused of falsifying business records to cover up hush-money payment
But the White House quickly seemed to walk back the idea, saying hours later this was just a possibility in talks with Congress on immigration reform.
"I'm going to do a big executive order. I have the power to do it as president and I'm going to make DACA a part of it," Trump said in an interview with Telemundo Noticias.
DACA stands for Deferred Action for Childhood Arrivals.
It began in 2012 under then-president Barack Obama and has allowed some 700,000 people brought without papers to the United States as children to live, work and study without danger of being deported. Most of them are Latin American.
In 2017, Trump tried to cancel the program but the Supreme Court ruled last week that the administration had acted with weak legal justification and it let DACA stand for now.
The ruling suggested there are legal administrative methods Trump could use to cancel DACA, putting the onus back on the administration if it wants to pursue the issue.
Trump said in the interview that in the wake of the court ruling, he would issue an order addressing migration issues that include DACA.
"We're going to have a road to citizenship," he said.
Trump is facing an uphill battle to reelection in November and has made cutting immigration -- both legal and illegal -- a cornerstone of a platform aimed at his white, working-class base.
Hours after Trump spoke, the White House put out a statement that seemed to walk back his remarks on creating a path to citizenship for DACA beneficiaries.
"As the President announced today, he is working on an executive order to establish a merit-based immigration system to further protect US workers," White House spokesman Judd Deere said.
"Furthermore, the President has long said he is willing to work with Congress on a negotiated legislative solution to DACA, one that could include citizenship, along with strong border security and permanent merit-based reforms," he added.
"Unfortunately, Democrats have continually refused these offers as they are opposed to anything other than totally open borders," Deere added.
Pecker is a key witness in the case against the former US president, who is accused of falsifying business records to cover up hush-money payment
The oil and gas conglomerate and Fifa, the world governing body, sign major sponsorship agreement
Toomaj Salehi risks being hanged after the conviction on the Shariah charge of "corruption on Earth" by a Revolutionary Court
Aid groups warn any invasion would add to already-catastrophic conditions for Gaza's 2.4 million people
The American they will face Australia and Serbia on July 15 and July 17 as part of their preparation for the Paris Olympic Games
The leaders emphasise that the deal to release the hostages would bring an immediate and prolonged ceasefire in Gaza
Dubai-based Sumit Augustine has had a philosophical approach towards spending
The regional upswing also defies oil production cutbacks