Yes, However, cancellation of such counter ticket of the connecting journey through IRCTC/139 may not be allowed since as per rule tickets have to be surrendered at the originating station for collecting refund amount.