As far as I’ve been able to find, Lewis never spoke explicitly about a connection, but as Rand al'Thor noted, others have made the same connection. David L. Johns offers a full chapter in _Quakering Theology_ making the case that the two Edmunds are connected which is fairly compelling. But without any explicit statement from Lewis, we can never say for certain, even if it is likely that Lewis did make the deliberate choice to name his Edmund after Shakespeare’s.