Power to light then out to outlet and switch wiring question
Sure you could use the hot, neutral and ground from the 2nd light or the first to power your switched receptacle and pull the wire to wherever you want the receptacle.