Your laptop's charger is rated for about 40 watts. There are USB power delivery chargers that can deliver more than 40 watts. So yes you can build it.
There are USB to barrel adapters out there, you could use one of those, but if you want to design the circuit yourself that would be a fun project. You would need something that could negotiate USB power delivery