Few questions :
a. What happens when a non-logged in user views the course ? Does she see the badge or certificate icon ? Assumption : Does not see
b. What happens when a user who has the membership level to view certificates and badges sees the course ?
Assumption : See
This is a customisation, yes it is possible, but you need to know the membership levels.
For example :
You want to display certificate and Badge information to users with "23" membership id :
Add code in child theme - functions.php :
add_filter('wplms_course_details_widget','show_hide_features_based_on_membership_level');
function show_hide_features_based_on_membership_level($details){
$user_id = get_current_user_id();
$membership_levels = 23; //integer or array(24,34);
if(!pmpro_hasmembershiplevel($membership_levels,$user_id)){
unset($details['certificate']); //hides certificate
unset($details['badge']); //hides certificate
}
return $details
}