I think it is possible by using Apex trigger.
Capture an approval comments to populate a lead custom field
https://developer.salesforce.com/forums/?id=9060G000000I3uzQAC
List<Id> pId = new List<Id>();
Map<Id,ProcessInstance> xyz = new Map<Id,ProcessInstance>();
Map<Id,ProcessInstanceStep> abc = new Map<Id,ProcessInstanceStep>();
for(ProcessInstance pi : [SELECT Id,Status,TargetObjectId FROM ProcessInstance WHERE TargetObjectId =: newmap<object>.keySet() ORDER BY CreatedDate DESC]){
if(!xyz.containsKey(pi.TargetObjectId)){
xyz.put(pi.TargetObjectId,pi);
pId.add(pi.Id);
}
}
for(ProcessInstanceStep pis : [SELECT Id, Comments,ProcessInstanceId, StepStatus, OriginalActorId, ActorId FROM ProcessInstanceStep WHERE ProcessInstanceId IN: pId]){
if(!abc.containsKey(pis.ProcessInstanceId))
abc.put(pis.ProcessInstanceId, pis);
}
system.debug('ProcessInstanceStep'+abc);
system.debug('ProcessInstance'+xyz);
for(<obj> abxy : lstOfNew<obj>) {
if(conditions if any) {
ProcessInstance p = .get(abxy.Id);
if(conditions if any)
system.debug('anyname'+abc.get(p.Id).Comments);
<field that u want the comments> = abc.get(p.Id).Comments;
}
}
}